<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>登录页面</title>

<link href="themes/css/login.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="http://demo.dwzjs.com">
				<img src="themes/default/images/login_logo.gif" /></a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">设为首页</a></li>
						<li><a href="http://bbs.dwzjs.com">反馈</a></li>
						<li><a href="doc/dwz-user-guide.pdf" target="_blank">帮助</a></li>
					</ul>
				</div>
				<h2 class="login_title">
					<img src="themes/default/images/login_title.png" />
				</h2>
			</div>
		</div>
		<%-- 
			框架自带登陆验证
			<div class="error ${param.error == true ? '' : 'hide'}">
			  登陆失败<br>
			  ${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}
			</div> 
		--%>
		<div id="login_content">
			<div class="loginForm">
				<form action="${pageContext.request.contextPath}/j_spring_security_check" style="text-align:center" method="POST">
					<p>
						<label>用户名：</label> 
						<input type="text" name="j_username" size="20" class="login_input" value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}"/>
					</p>
					<p>
						<label>密码：</label> 
						<input type="password" name="j_password" size="20" class="login_input" />
					</p>
					<p style="float: right;margin-right: 30px;">
					 	<input type="checkbox" name="_spring_security_remember_me" />两周之内不必登陆<br />
					</p>
					<div class="login_bar" style="float: right;margin-right: 40px;">
						<input class="sub" type="submit" value="" />
					</div>
				</form>
			</div>
			<div class="login_banner">
				<img src="themes/default/images/login_banner.jpg" />
			</div>
			<div class="login_main">
				<ul class="helpList" >
					<li><a href="#">忘记密码怎么办？</a></li>
					<li><a href="#">为什么登录失败？</a></li>
				</ul>
				<div class="login_inner">
					<p>您可以使用 网易网盘 ，随时存，随地取</p>
					<p>您还可以使用 闪电邮 在桌面随时提醒邮件到达，快速收发邮件。</p>
					<p>在 百宝箱 里您可以查星座，订机票，看小说，学做菜…</p>
				</div>
			</div>
		</div>
		<div id="login_footer">Copyright &copy; 2009 www.dwzjs.com Inc. All Rights Reserved.</div>
	</div>
</body>
</html>